package com.model.vo.sys.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: zql
 * @Description:
 * @Data: 9:14 2021/7/1
 */
@Data
public class UserVO {
    @ApiModelProperty(value = "用户id",required = true)
    private Long sysUserId;

    @ApiModelProperty(value = "部门id",required = true)
    private Long sysDeptId;

    @ApiModelProperty(value = "登录用户名",required = true)
    private String name;

    @ApiModelProperty(value = "显示名称",required = true)
    private String fullName;

    @ApiModelProperty(value = "手机号",required = true)
    private String mobile;

    @ApiModelProperty(value = "头像图片路径",required = true)
    private String imagePath;

    @ApiModelProperty(value = "0:用户,1:管理员,2:游客",allowableValues = "0,1,2",required = true)
    private Byte userType;

    @ApiModelProperty(value = "ip地址",required = true)
    private String ip;

    @ApiModelProperty(value = "邮箱",required = true)
    private String email;

    @ApiModelProperty(value = "创建时间(yyyy-MM-dd HH:mm:ss)",required = true)
    private Date createTime;

    @ApiModelProperty(value = "创建者",required = true)
    private String creator;

    @ApiModelProperty(value = "更新时间(yyyy-MM-dd HH:mm:ss)",required = true)
    private Date updateTime;

    @ApiModelProperty(value = "修改者",required = true)
    private String modifier;

    @ApiModelProperty(value = "0:有效,1:停用,2:删除",allowableValues = "0,1,2",required = true)
    private Byte isDelete;
}
